<%@ page language="java" contentType="text/html; charset=UTF-8"  pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/view/include/taglib.jsp" %>
				<div class="fy-sm clearfix">
					<span class="fysp spcor1"></span>
					<span class="spansep">已售</span>
					<span class="fysp spcor2"></span>
					<span class="spansep">未售</span>
					<span class="fysp spcor3"></span>
					<span class="spansep">订购中</span>
				</div>
				<div class="f-l-w">
					<div class="f-l-left clearfix" id="loudong2">
					<c:forEach	items="${loudong}" var="item" varStatus="status">
						<c:choose>
		  					<c:when test="${status.index==ldIndex}">
								<a href="#" class="pua lon" index="${status.index}">${item.name}</a>
		  					</c:when>
		  					<c:otherwise>
		  						<a href="#" class="pua" index="${status.index}">${item.name}</a>
		  					</c:otherwise>
		  				</c:choose>						
					</c:forEach>
					</div>
				</div>
				<div id="danyuan">
					<div class="d-l-w">
						<div class="d-l-left clearfix" id="danyuan2">
							<c:forEach	items="${loudong.get(0).danyuanList}" var="item" varStatus="status">
								<c:choose>
									<c:when test="${status.index==dyIndex}">
										<a href="#" class="dua don" index="${status.index}">${item.name}</a>
									</c:when>
									<c:otherwise>
										<a href="#" class="dua" index="${status.index}">${item.name}</a>
									</c:otherwise>
								</c:choose>							
							</c:forEach>
						</div>
					</div>
					<div class="ld-w-c clearfix" id="taoxing">
						<c:forEach	items="${loudong.get(ldIndex).danyuanList.get(dyIndex).taoxingList}" var="item" varStatus="status">
							<div class="d-w-c-list">
								<c:forEach	items="${item.shiHaoList}" var="item2" varStatus="status2">
									   <c:choose>
									   <c:when test="${item2.getD_state()==0 && (item2.getD_Monitor()==0 || item2.getD_Monitor()==1)}">
											<a href="javascript:void(0);" id="Room${item2.getD_ID()}" rid="${item2.getD_ID()}" rstate="${item2.getD_state()}" mstate="${item2.getD_Monitor()}" class="sh lda0">${item2.getD_RoomNo()}</a>
									   </c:when>
									   <c:when test="${item2.getD_state()==1 && (item2.getD_Monitor()==0 || item2.getD_Monitor()==1)}">
											<a href="javascript:void(0);" id="Room${item2.getD_ID()}" rid="${item2.getD_ID()}" rstate="${item2.getD_state()}" mstate="${item2.getD_Monitor()}" class="sh lda1">${item2.getD_RoomNo()}</a>
									   </c:when>
									   <c:when test="${item2.getD_state()==2 && (item2.getD_Monitor()==0 || item2.getD_Monitor()==1)}">
											<a href="javascript:void(0);" id="Room${item2.getD_ID()}" rid="${item2.getD_ID()}" rstate="${item2.getD_state()}" mstate="${item2.getD_Monitor()}" class="sh lda2">${item2.getD_RoomNo()}</a>
									   </c:when>
									   <c:when test="${item2.getD_Monitor()==2}">
											<a href="javascript:void(0);" id="Room${item2.getD_ID()}" rid="${item2.getD_ID()}" rstate="${item2.getD_state()}" mstate="${item2.getD_Monitor()}" class="sh lda1">${item2.getD_RoomNo()}</a>
									   </c:when>
									   <c:otherwise>
										   <a href="javascript:void(0);" id="Room${item2.getD_ID()}" rid="${item2.getD_ID()}" rstate="${item2.getD_state()}" mstate="${item2.getD_Monitor()}" class="sh lda2">${item2.getD_RoomNo()}</a>
									   </c:otherwise>
									</c:choose>				
								</c:forEach>	                  	
							</div>
						</c:forEach>		
					</div>
				</div>		
